package com.zhiyou100.model;

import java.util.Date;

public class Discuss {
    private Integer id;

    private Integer userId;

    private String content;

    private Date sendTime;

    private Integer projectId;

    private Integer progressId;

    public Discuss(Integer id, Integer userId, String content, Date sendTime, Integer projectId, Integer progressId) {
        this.id = id;
        this.userId = userId;
        this.content = content;
        this.sendTime = sendTime;
        this.projectId = projectId;
        this.progressId = progressId;
    }

    public Discuss() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getProgressId() {
        return progressId;
    }

    public void setProgressId(Integer progressId) {
        this.progressId = progressId;
    }
}